* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #f3f5f7;
}
li {
    list-style: none;
}
a{
    text-decoration: none;
}
button{
    border: none;
}
.w {
    width: 1200px;
    margin: auto;
}
.clearfix:after {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
.clearfix {
    *zoom:1
}

.header {
    height: 42px;
    margin: 30px auto;
}
.user,
.logo,
.nav li,
.nav,
.search,
.search input,
.search button{
    float: left;
}
.float-left{
    float: left;
}
.float-right{
    float: right;
}
.logo {
    margin-right: 60px;
}
.nav ul li a{
    display: block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    color: #050505;
    text-decoration: none;
    font-size: 18px;
    margin-right: 20px;
}
.nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
}
.search{
    margin-left: 70px;
}
.search input{
    width: 340px;
    height: 38px;
    border: 1px solid #00a4ff;
    padding-left: 20px;
    color: #cccccc;
}
.search button {
    width: 50px;
    height: 40px;
    background: url(../images/btn.png);
}
.user{
    height: 40px;
    line-height: 40px;
    margin-left: 30px;
    font-size: 14px;
    color: #666;
}
.user img{
    vertical-align: middle;
}
.banner{
    height: 420px;
    background: #1c036c url(../images/banner2.jpg) no-repeat top center;
}
.subnav {
    width: 150px;
    height: 420px;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, .3);
}
.subnav li{
    height: 45px;
    line-height: 45px;
}
.subnav a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}
.subnav a:hover {
    color: #00b4ff;
}
.subnav a span {
    float: right;
}
.course {
    width: 228px;
    height: 300px;
    margin-top: 50px;
    background-color: #fff;
}
.course-hd{
    height: 48px;
    line-height: 48px;
    background-color: #4ba9ff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.course-bd{
    padding: 0 15px;
    background-color: #f3f5f7;
}
.course-bd ul{
    padding-top: 10px;
}
.course-bd li{
    height: 50px;
    margin-top: 10px;
    border-bottom: 1px solid #cccccc;
}
.course-bd h4{
    font-size: 14px;
    color: #4e4e4e
}
.course-bd p{
    font-size: 12px;
    color: #a5a5a5;
}
.course-bd a{
    display: block;
    margin-top: 10px;
    height: 38px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    color: #00a4ff;
    text-align: center;
    line-height: 38px;
}
.course-bd a:hover{
    background-color: #00a4ff;
    color: #ffffff;
}
.goods{
    margin-top: 8px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    color: #cccccc;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.2);
}
.goods h3{
    margin-left: 30px;
    margin-right: 30px;
    font-size: 16px;
    color: #00a4ff;
}
.goods-item a{
    font-size: 16px;
    color: #050505;
    margin: 0 30px;
}
.mod {
    font-size: 14px;
    color: #00a4ff;
    margin-right: 30px;
}
.box{
    margin-top: 15px;

}
.box-hd{
    height: 60px;
    line-height: 60px;
}
.box-hd h3{
    font-size: 20px;
    font-weight: normal;
    color: #494949;
}
.box-hd a{
    margin-right: 30px;
    font-size: 12px;
    color: #a5a5a5;
}
.box-bd{
    width: 1215px;
}
.box-bd li{
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.2);
}
.box-bd img{
    width: 100%;
}
.box-bd .hot{
    position: absolute;
    top: 0;
    right: -4px;
    width: 40px;
}
.box-bd h4{
    margin: 20px 20px;
    font-size: 14px;
    color: #050505;
    font-weight: normal;
}
.box-bd p{
    margin: 0 20px;
    font-size: 12px;
    color: #999;
}
.box-bd span{
    color: orange;
}
.footer{
    height: 200px;
    padding-top: 30px;
    background-color: #fff;
}
.copyright p{
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px;
}
.app{
    display: block;
    width: 118px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 16px;
    color: #00a4ff;
    border: 1px solid #00a4ff;
}
.app:hover{
    background-color: #00a4ff;
    color: white;
}
.links dl{
    float: left;
    margin-left: 100px;
}
.links dt{
    font-size: 16px;
    color: #333333;
    height: 35px;
}
.links a{
    font-size: 12px;
    color: #333333;
}
.links a:hover{
    color: #00a4ff;
}
